package assignments;

public class ReferenceTest2 {
	public static void main(String[] args) {
		int a =1;
		ReferenceTest2 rt = new ReferenceTest2();
		System.out.println("Before modify() a = " + a);
		
		rt.modify(a);
		System.out.println("After modify() a = " + a);
	}
	
	void modify(int number) {
		number = number + 1;
		System.out.println("number = " + number);
	}
}
